Implement LWG2870: Default value of parameter theta of polar should be dependent git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@323918 91177308-0d34-0410-b5e6-96231b3b80d8 
diff --git a/include/complex b/include/complex index 41a47cf..c7c1cde 100644 --- a/include/complex +++ b/include/complex 
@@ -203,7 +203,7 @@  template<Integral T> complex<double> proj(T);  complex<float> proj(float);   -template<class T> complex<T> polar(const T&, const T& = 0); +template<class T> complex<T> polar(const T&, const T& = T());    // 26.3.8 transcendentals:  template<class T> complex<T> acos(const complex<T>&); @@ -991,7 +991,7 @@    template<class _Tp>  complex<_Tp> -polar(const _Tp& __rho, const _Tp& __theta = _Tp(0)) +polar(const _Tp& __rho, const _Tp& __theta = _Tp())  {  if (__libcpp_isnan_or_builtin(__rho) || signbit(__rho))  return complex<_Tp>(_Tp(NAN), _Tp(NAN));